package com.hfmall.entity;


import java.util.List;

public class PageBean<T> {
    private int totalPage;//总页数
    private int totalCount;//总记录数
    private int pageSize;//每页显示条数
    private int currentPage;//当前页数；
    private int currentPageCount;//当前页的数量
    private List<T> data;
	private List<T> list;//每页显示的数据集和

   
    
    @Override
	public String toString() {
		return "PageBean [totalPage=" + totalPage + ", totalCount=" + totalCount + ", pageSize=" + pageSize
				+ ", currentPage=" + currentPage + ", currentPageCount=" + currentPageCount + ", list=" + list + "]";
	}

	public int getCurrentPageCount() {
		return currentPageCount;
	}

	public void setCurrentPageCount(int currentPageCount) {
		this.currentPageCount = currentPageCount;
	}

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(int currentPage) {
        this.currentPage = currentPage;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }
}
